/* 
 * File:   main.c
 * Author: aeon
 *
 * Created on August 18, 2012, 7:15 PM
 */

#include <stdio.h>
#include <stdlib.h>
#include "Header_xc8.h"
#include "_delay.h"
#include "_lcd.h"
/*
 * 
 */
void init_hardware(void)
{
   TRISCbits.RC0=0;
   TRISB=0x00;
   PORTB=0x00;
   ADCON1=0x0F;
}


void main(void)
{
    init_hardware();
    init_lcd();
    while(1)
    {
        PORTCbits.RC0=1;
        delay_ms(1000);
        PORTCbits.RC0=0;
        delay_ms(1000);
    }
}

